<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>我的世界北境社区</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link href="https://fonts.loli.net/css?family=Work+Sans:100,200,300,400,500,600,700,800,900" rel="stylesheet">
    <link href="https://fonts.loli.net/css?family=Fredericka+the+Great" rel="stylesheet">
    <link rel="stylesheet" href="/tnweb/css/open-iconic-bootstrap.min.css">
    <link rel="stylesheet" href="/tnweb/css/animate.css">
    <link rel="stylesheet" href="/tnweb/css/owl.carousel.min.css">
    <link rel="stylesheet" href="/tnweb/css/owl.theme.default.min.css">
    <link rel="stylesheet" href="/tnweb/css/magnific-popup.css">
    <link rel="stylesheet" href="/tnweb/css/aos.css">
    <link rel="stylesheet" href="/tnweb/css/ionicons.min.css">
    <link rel="stylesheet" href="/tnweb/css/flaticon.css">
    <link rel="stylesheet" href="/tnweb/css/icomoon.css">
    <link rel="stylesheet" href="/tnweb/css/style.css">
    <link rel="stylesheet" href="/tnweb/css/register.css">

    <link href="/tnweb/images/page_logo.jpg" rel="shortcut icon"/>
</head>
<body>
<div id="header">
    <div th:include="commons/head :: html"></div>
</div>
<section class="hero-wrap hero-wrap-2" style="background-image: url('/tnweb/images/register_head.jpg');">
    <div class="overlay"></div>
    <div class="container">
        <div class="row no-gutters slider-text align-items-center justify-content-center">
            <div class="col-md-9 ftco-animate text-center">
                <h1 class="mb-2 bread">注册账号</h1>
                <p class="breadcrumbs"><span class="mr-2">请在下方注册</p>
            </div>
        </div>
    </div>
</section>
<section class="ftco-section ftco-no-pt ftco-no-pb contact-section">
    <div class="container">
        <div class="row d-flex align-items-stretch no-gutters" style="padding-top: 20px">
            <div class="col-md-6 p-4 p-md-5 order-md-last bg-light">
                <form>
                    <div class="form-group">
                        <input id="id" type="text" style="width: 425px;" class="form-control" placeholder="输入你的ID">
                        <div id="idDiv" class="content reg1">
                            <i></i>
                            <p id="idTip">账号必须为6-20位数字或者英文字母</p>
                        </div>
                    </div>
                    <div class="form-group">
                        <input id="password" type="password" style="width: 425px;" class="form-control" placeholder="输入你的密码">
                        <div id="passDiv" class="content reg2">
                            <i></i>
                            <p id="passTip" style="color:white;">密码必须大于8位数字、英文字母、字符</p>
                        </div>
                    </div>
                    <div class="form-group">
                        <input id="passwordConfirm" type="password" style="width: 425px;" class="form-control" placeholder="再次确认你的密码">
                        <div id="confirmPassDiv" class="content reg3">
                            <i></i>
                            <p id="passConfirmTip">再输入一次密码</p>
                        </div>
                    </div>
                    <div class="form-group">
                        <input id="codeInput" type="text" class="form-control" placeholder="验证码">
                        <button id="verifyCode" type="button">
                            <img id="codeImg" style='padding: 0' th:src="@{/images/img_code.jpg}"/>
                        </button>
                    </div>
                    <div class="form-group">
                        <button type="button" class="btn btn-primary" onclick="register()">点击注册</button>
                    </div>
                </form>
            </div>
            <div class="col-md-6 d-flex align-items-stretch" style="padding-top: 35px">
                <div class="overlay"></div>
                <div class="container">
                    <div class="row no-gutters slider-text align-items-center justify-content-center"
                         data-scrollax-parent="true">
                        <img id="regSide" src="/tnweb/images/register_side.png" style="border-radius:40px"/>
                        <h1 id="regFont" style="color: blue">见到你,<span>我多少适应了这个世界</span></h1>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<div id="footer">
    <div th:include="commons/foot :: html"></div>
</div>

<div id="ftco-loader" class="show fullscreen">
    <svg class="circular" width="48px" height="48px">
        <circle class="path-bg" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke="#eeeeee"/>
        <circle class="path" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke-miterlimit="10"
                stroke="#F96D00"/>
    </svg>
</div>
<script src="/tnweb/js/jquery.min.js"></script>
<script src="/tnweb/js/jquery-migrate-3.0.1.min.js"></script>
<script src="/tnweb/js/popper.min.js"></script>
<script src="/tnweb/js/bootstrap.min.js"></script>
<script src="/tnweb/js/jquery.easing.1.3.js"></script>
<script src="/tnweb/js/jquery.waypoints.min.js"></script>
<script src="/tnweb/js/jquery.stellar.min.js"></script>
<script src="/tnweb/js/owl.carousel.min.js"></script>
<script src="/tnweb/js/jquery.magnific-popup.min.js"></script>
<script src="/tnweb/js/aos.js"></script>
<script src="/tnweb/js/jquery.animateNumber.min.js"></script>
<script src="/tnweb/js/scrollax.min.js"></script>
<script src="/tnweb/js/google-map.js"></script>
<script src="/tnweb/js/main.js"></script>
<script src="/tnweb/js/register.js"></script>
<script src="/tnweb/js/layui/layer.js"></script>
<script src="/tnweb/js/jQuery.md5.js"></script>

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-23581568-13"></script>
<script>
    /*window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());

    gtag('config', 'UA-23581568-13');*/
</script>
</body>
</html>